/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package exceptions.lexic;

/**
 *
 * @author Administrador
 */
public class InvalidIDFormatException extends LexicException{
    private String id;
	private int linea;
	private int columna;

    public InvalidIDFormatException(String i,int l, int c){
		id = i;
		linea = l;
	    columna = c - (i.length()-1);
	}

	@Override
    public String getMessage(){
		return ("InvalidIDFormatException: Formato incorrecto en el identificador "+id+". Linea: "+linea+ " Columna: "+columna);
	}
}
